package pathfinding
{
	import pathfinding.Node;

	public class FindingAction
	{
		public static const ACT_PUSH_OPEN:int = 1;
		public static const ACT_PUSH_CLOSE:int = 2;
		public static const ACT_POP_OPEN:int = 3;
		public static const ACT_VISIT:int = 4;
		public static const ACT_UNWALKABLE:int = 6;
		public static const ACT_FIND:int = 7;
		public static const ACT_UNFIND:int = 8;
		public static const ACT_NONE:int = 9;
		
		private var _node:Node;
		
		private var _type:int;
		
		public function FindingAction( node:Node, type:int )
		{
			this._node = node;
			
			this._type = type;
		}
		
		public function get type():int
		{
			return _type;
		}
		
		public function get node():Node
		{
			return _node;
		}
	}
}